package com.dongdongshop.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author Eayon
 * @Date 2020/2/21 15:16
 */
@Controller
public class LoginController {

    Logger logger = LoggerFactory.getLogger(LoginController.class);

    /**
     * 跳转 运营商管理后台登录页
     * @return
     */
    @RequestMapping({"/","/toLogin"})
    public String toLogin(){
        return "login";
    }

    /**
     * 跳转运营商管理后台首页
     * @return
     */
    @RequestMapping("toIndex")
    public String toHome(){
        return "index";
    }

}
